package edu.chl.tda367.mynotes.ctrl;

import edu.chl.tda367.mynotes.core.MyNotes;

/*
 * A controller class that handles what kind of color the user chooses to
 * change; color of the font or the background. Sends the information to
 * the model.
 */

public class ColorCtrl implements ICtrl {

	public void execute(String s) {		

		if(s.equals("fontColor")){
			MyNotes.getInstance().setColor();
		} else if(s.equals("backgroundColor")){
			MyNotes.getInstance().setBackgroundColor();
		}
	}

	@Override
	public void execute() {
		
	}
}